'use client'
import * as icons from '@ant-design/icons'
import { useQueryClient } from '@tanstack/react-query';
import { useRouter, useSearchParams } from 'next/navigation'
export default function AdminPage() {
  // const iconKey = Object.keys(icons)
  const queryClient = useQueryClient()
  const params = useSearchParams()
  for (const [key, value] of params.entries()) {
    console.log(`${key}: ${value}`);
  }

  return (
    <div className="flex justify-center items-center w-full">
      {/* <div className="grid grid-cols-4 gap-4 w-full">
        {iconKey.slice(0,4).map((item, index) => {
          const Icon = (icons as any)[item]
          if(Icon.render){
            return (
              <div key={index} className="flex justify-center items-center">
                <Icon />
              </div>
            )
          }
         
        })}
      </div> */}
      {/* <button>跳转</button> */}
      <h1 className="mt-40 text-9xl"> welcome</h1>
    </div>
  );
}
